# flag = True

# while flag:
#   inputStr = input('请输入: ')
#   if (inputStr == 'quit'):
#     flag = False
#     print ('循环终止')
#   else:
#     print ('继续下一个循环')



index = 0
while index < 5:
  index += 1
  if (index == 2):
    break
  print ("当前的index为: ",index)
# 当前的index为:  1
# 当前的index为:  3
# 当前的index为:  4
# 当前的index为:  5


# index = 0
# while index < 5:
#   index += 1
#   if (index == 2):
#     break
#   print ("当前的index为: ",index)
# # 当前的index为:  1
  